<h2>
	<?php 
		__d('lilgallery', 'Add / Edit Image');
	?>
</h2>
<div class="form">
	<fieldset>
		<legend><?php __d('lilgallery', 'Gallery'); ?></legend>
	<?php 
		echo $form->create('Image', array('type'=>'file')).PHP_EOL;
		echo $form->input('gallery_id', array('label'=>__d('lilgallery', 'Select', true).':')).PHP_EOL;
	?>
	</fieldset>
	<fieldset>
		<legend><?php __d('lilgallery', 'Title and description'); ?></legend>
	<?php
		echo $form->input('id').PHP_EOL;
		echo $form->input('title', array('label'=>__d('lilgallery', 'Title', true).':')).PHP_EOL;
		echo $form->input('descript', array('label'=>__d('lilgallery', 'Description', true).':', 'cols'=>70)).PHP_EOL;
		
	?>
	</fieldset>
	<fieldset>
		<legend><?php __d('lilcart', 'Upload'); ?></legend>
	<?php
		echo $form->input('filename', array('type'=>'file', 'label'=>__d('lilgallery', 'Filename', true).':')).PHP_EOL;
	?>
	</fieldset>
	<?php echo $form->end(__d('lilgallery', 'Submit', true));?>
</div>